From: Rui Matos Date: Fri, 7 Aug 2015 13:16:58 +0000 (+0200) Subject: viewSelector: Make the compose key focus the search entry X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1266 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ac0213a516116280228da0d5105b932f99734b47;p=gnome-shell.git viewSelector: Make the compose key focus the search entry This way composed characters can be used to start searches. https://bugzilla.gnome.org/show_bug.cgi?id=753320 --- diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js index 660f619a9..3776b2c92 100644 --- a/js/ui/viewSelector.js +++ b/js/ui/viewSelector.js @@ -465,6 +465,9 @@ const ViewSelector = new Lang.Class({ }, _shouldTriggerSearch: function(symbol) { + if (symbol == Clutter.Multi_key) + return true; + if (symbol == Clutter.BackSpace && this._searchActive) return true;